package com.sugon.dao;

import com.sugon.entity.DevPlanGcEntity;
import org.apache.ibatis.annotations.Param;

/**
 * ${comments}Dao
 *
 * @author sugon
 * @date 2020-03-10 19:33:09
 */
public interface DevPlanGcDao extends BaseDao<DevPlanGcEntity> {
    /**
     * 根据维修计划获取维修工单
     *
     * @param id
     * @return
     */
    DevPlanGcEntity queryObjectByPlanid(@Param("id") String id);

    /**
     * 展示T
     *
     * @param id
     * @return
     */
    int showT(String id);

    /**
     * 修改维修工单延期申请记录
     *
     * @param devPlanGc
     * @return
     */
    int updateApply(DevPlanGcEntity devPlanGc);

    /**
     * 更新维修工单状态
     *
     * @param id
     * @return
     */
    int updateStatus(String id);

}
